<%@ page language="java" contentType="text/html; charset=UTF-8"%>

<!DOCTYPE html>
<html>
	<head>
		<title>消息</title>
		<%@include file="/common/header.jsp" %>
		<link rel="stylesheet" href="${basePath }css/msg.css"/>
	</head>
	<body>
		<%@include file="/common/top.jsp" %>
		
		
		<div class="container">
			<s:hidden id="pid" name="pcategory.id"></s:hidden>
			<s:hidden id="cid" name="category.id"></s:hidden>
			<div style="width:100%;height:40px;line-height:40px;text-align: center;font-size:22px;">
				成功添加到购物车!
			</div>
			<div class="_operation">
				<button class="_continue" onclick="tocontinue()" style="background-color:#BB0000;">继续浏览商品</button>
				<button class="_tocar" onclick="toMyCar()">现在去购物车结账!</button>
			</div>
	   	</div> <!-- /container -->
	   	
	   	
		<%@include file="/common/footer.jsp" %>
		
		<script>
			function toMyCar(){
				window.location = "${basePath }order_toMyCarUI.action";
			}
			function tocontinue(){
				var pid = $('#pid').val();
				var cid = $('#cid').val();
				window.location = "${basePath }good_toClothesUI.action?pcategory.id="+pid+"&category.id="+cid;
			}
		</script>
	</body>
</html>
